// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** hello GET /api/test */
export async function helloUsingGet(options?: { [key: string]: any }) {
  return request<any>('/api/test', {
    method: 'GET',
    ...(options || {}),
  })
}

/** hello1 GET /api/test/farmerId */
export async function hello1UsingGet(options?: { [key: string]: any }) {
  return request<any>('/api/test/farmerId', {
    method: 'GET',
    ...(options || {}),
  })
}

/** test POST /api/test/post */
export async function testUsingPost(
  body: API.NotificationMessage,
  options?: { [key: string]: any }
) {
  return request<any>('/api/test/post', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}
